﻿using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace NetCoreMongodb
{
    public class Edb_Class
    {
        public ObjectId _id { get; set; }
        public string class_code { get; set; }
        public string class_name { get; set; }
        public string parent_class_code { get; set; }
        public string is_pack { get; set; }
        public string packing_charges { get; set; }
        public string rough_weight_ratio { get; set; }
        public string is_suit { get; set; }
        public string sort_type { get; set; }

        [BsonDateTimeOptions]
        public DateTime PullTime { get; set; }
        public bool PushState { get; set; }
        public string PushFailMsg { get; set; }

    }
}